Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(batcher): block builder transaction failed test #2171

Open
wants to merge 1 commit into
base: yael/refactor_block_builder_test
Choose a base branch
from

Conversation

Yael-Starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

Yael-Starkware commented Nov 19, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 5.27%. Comparing base (495aefc) to head (11bdf96).

Additional details and impacted files
@@                         Coverage Diff                         @@
##           yael/refactor_block_builder_test   #2171      +/-   ##
===================================================================
+ Coverage                              5.26%   5.27%   +0.01%     
===================================================================
  Files                                   145     145              
  Lines                                 17070   17070              
  Branches                              17070   17070              
===================================================================
+ Hits                                    898     901       +3     
+ Misses                                16096   16092       -4     
- Partials                                 76      77       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Copy link
Contributor Author

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/starknet_batcher/src/block_builder_test.rs line 207 at r1 (raw file):

}

fn transaction_failed_test_expectations(

I can add this test as a case to the previous test, with a bit of refactor.
wdyt?

Copy link
Contributor Author

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/starknet_batcher/src/block_builder_test.rs line 207 at r1 (raw file):

Previously, Yael-Starkware (YaelD) wrote…

I can add this test as a case to the previous test, with a bit of refactor.
wdyt?

(this comment was supposed to be written over the test function and not here ).

Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Yael-Starkware)


crates/starknet_batcher/src/block_builder_test.rs line 207 at r1 (raw file):

Previously, Yael-Starkware (YaelD) wrote…

(this comment was supposed to be written over the test function and not here ).

If it's not to big of a refactor and you think it makes sense, then yeah.

@Yael-Starkware Yael-Starkware force-pushed the 11-19-test_batcher_block_builder_transaction_failed_test branch from 1374f3d to cb7e26e Compare November 19, 2024 12:16
@Yael-Starkware Yael-Starkware force-pushed the 11-18-fix_batcher_treat_deadline_as_error_in_the_validate_flow branch from d3224ef to fa0b49a Compare November 19, 2024 13:15
@Yael-Starkware Yael-Starkware changed the base branch from 11-18-fix_batcher_treat_deadline_as_error_in_the_validate_flow to graphite-base/2171 November 20, 2024 06:11
@Yael-Starkware Yael-Starkware force-pushed the 11-19-test_batcher_block_builder_transaction_failed_test branch from cb7e26e to 11bdf96 Compare November 20, 2024 06:36
@Yael-Starkware Yael-Starkware changed the base branch from graphite-base/2171 to yael/refactor_block_builder_test November 20, 2024 06:36
Copy link
Contributor Author

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/starknet_batcher/src/block_builder_test.rs line 207 at r1 (raw file):

Previously, alonh5 (Alon Haramati) wrote…

If it's not to big of a refactor and you think it makes sense, then yeah.

ack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants